package com.telecom.mapper;

import com.telecom.entity.Dept;
import org.apache.ibatis.annotations.Insert;

import java.util.List;

public interface DeptMapper {
    @Insert("insert into dept(dept_name,dept_addr) values(#{deptName},#{deptAddr})")
    int insert(Dept dept);

    List<Dept> selectList();
}
